package com.dingli.admin.service;

import com.dingli.framework.entity.Bank;
import com.dingli.framework.util.Response;

import java.util.List;

public interface IBankService {
    Response<List<Bank>> list(String search);

    Response<Long> insert(Bank bank);

    Response<Object> updateById(Bank bank);

    Response<Object> deleteById(Long bankId);

    Response<Object> deleteBatch(List<Long> idList);

    Response<List<Bank>> allBank();

}
